package edu.spec.sms.dao.iface;

import edu.spec.sms.model.Message;
import org.madgecko.basic.dao.IBaseDao;
import org.madgecko.basic.model.Pager;

import java.util.List;

public interface IMessageDao extends IBaseDao<Message> {

    void listLatest();
    List<Message> listByStudent(Integer studentId);
    Pager<Message> findByMessageDate();
}
